package com.gjp.netty.config;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * Created by 郭金鹏 on 2018/2/27.
 *
 * 存储netty全局配置
 */
public class NettyConfig {
    //存储每一个客户端接入时的 Channel对象
    public static ChannelGroup group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
